CallFormatIOProc
CallFormatIOProc Call a format IO procedure
#include <Editions.h> Edition Manager
OSErr CallFormatIOProc ( selector, PB, routine);
FormatIOVerb selector; is set to one of the edition opener verbs
FormatIOParamBlock *PB ; contains a format I/O parameter block record
FormatIOProcPtr routine ; is a pointer to a format I/O procedure.
returns Error Code; 0=no error
Use the CallFormatIOProc function to call a format IO procedure.
selector is set to one of the format I/O verbs (ioHasFormat, ioReadFormat,
ioNewFormat, ioWriteFormat)
PB contains a format I/O parameter block record
routine is a pointer to a format I/O procedure.
Returns: an operating system Error Code.
noErr (0) No error

Notes: The I/O procedure is a routine that actually reads and writes the data. It
has an interface of a selector and a parameter block.
OSErr MyIO (FormatIOVerb selector, FormatIOParamBlock *pb);
To override the standard reading and writing functions, create an I/O
function. Note that you also need to provide your own opener function to call
your I/O function. See Calling an Edition Opener Procedure under
Subscribing to Non-Edition Files for more information on writing
an opener function. See Calling a Format I/O Procedure under
Subscribing to Non-Edition Files for more information on writing a
format I/O procedure.